package com.zixuan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 *
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-10-08
 */
@Data
@TableName("employee")
public class EmployeeEntity {

    /**
     * 员工id
     */
    @TableId(type = IdType.ID_WORKER_STR)
	private String emId;
    /**
     * 员工姓名
     */
	private String emName;
    /**
     * 员工状态 0为正常 1为离职
     */
    @TableLogic
	private Integer emStatus;
    /**
     * 是否为管理员用户 0普通用户 1管理员
     */
	private Integer isAdmin;
    /**
     *
     */
	private String username;
    /**
     *
     */
	private String password;
}
